tools/xen-detect: fix printing xen version
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Feb 2010 09:42:45 +0000 (09:42 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Feb 2010 09:42:45 +0000 (09:42 +0000)
commit1921835bf441b67b4d35b1e49ef32163359a7752
treeef971e68707b9e23d9c811e44ff20207299e8efb
parent049ad7d34ef8b54b1fea42d50d235b1c0608de70
tools/xen-detect: fix printing xen version

check_for_xen() should return xen version rather than
boolean true if signature XenVMM is found.

Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com>
tools/misc/xen-detect.c